<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class AgentHasShop extends Model
{
    public $table = 'agent_has_shop';

    public $guarded = [];

    public function shop()
    {
        return $this->belongsTo(Shop::class);
    }

    public function agent()
    {
        return $this->belongsTo(Agent::class);
    }
}
